Scheduling Connections using System-Level Thread Priorities in Web Applications

نویسندگان

  • Javier Alonso
  • Jordi Guitart
  • Jordi Torres
چکیده

Resumen—The e-commerce web sites receive a great and varied number of visitors every day. These visitors share the application server’s limited resources and when there are too many clients connecting to the web site, it is possible that they hinder between them, even to overload the application server. These visitors can be divided in different categories, depending on their importance from site viewpoint. Considering the importance that in these web sites some client connections (e.g. buyers’ connections) finish successfully before other connections, in this paper we propose a mechanism to provide different quality of service to the different client categories by assigning different priorities to the threads attending the connections. After observing that Java Thread Priorities are only applied within the JVM, and moreover, these priorities do not reach the O.S. threads, we propose to schedule threads using the Linux Real Time priorities. Our results demonstrate that different quality of service classes can be supported using this mechanism.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Can Thread Priorities be Used to Provide Differentiated Quality of Service for Web Applications?

Resumen—The e-commerce web sites receive a great and varied number of visitors every day. These visitors share the application server’s limited resources and when there are too many clients connecting to the web site, it is possible that they hinder between them, even to overload the application server. These visitors can be divided in different categories, depending on their importance from si...

متن کامل

Application-specific User-Level Thread Schedulers

This paper describes CATAPULTS, a domain-specific language for creating and testing application-specific user-level thread schedulers. Using a domain-specific language to write userlevel thread schedulers provides three advantages. First, it modularizes the thread scheduler, making it easy to plug in and experiment with different thread scheduling strategies. Second, using a domain-specific lan...

متن کامل

Scheduler Activations

There are two commonly used thread models: kernel level threads and user level threads. Kernel level threads suffer from the cost of frequent user-kernel domain crossings and xed kernel scheduling priorities. User level threads are not integrated with the kernel, blocking all threads whenever one thread is blocked. The Scheduler Activations model, proposed by Anderson et al. ANDE91], combines k...

متن کامل

User-Level Scheduling with Kernel Threads

Today’s operating systems provide kernel threads for parallel applications and multi-threaded servers. Scheduling plays an important role with regard to efficiency and fairness — especially for distributed applications, multimedia processing and server processes. A multi-threaded application should be able to specify the scheduling strategy for its threads itself. In most modern operating syste...

متن کامل

\threads: a System for the Support of Concurrent Programming". Technical Report

Many parallel applications are implemented using lightweight thread packages. The low overhead associated with user-level thread management encourages programmers to use threads to exploit ne-grain parallelism in an application. Although the overhead of explicit thread management can be very small, there is other overhead associated with lightweight threads: the time required to load data into ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006